home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung / Power-Programmierung (Tewi)(1994).iso / magazine / c_news / 15 / f_prot.h < prev    next >
C/C++ Source or Header  |  1989-04-03  |  2KB  |  41 lines

  1. /* -- File:     line.h
  2.    --
  3.    -- Author:   Anthony Lander
  4.    -- Date:     January 10, 1989.
  5.    --
  6.    -- Description:
  7.    --           Function prototypes for LINE.C.  These let us use strong type
  8.    --           checking when we compile -- very important for speedy program
  9.    --           developement!
  10.  
  11.  
  12.  
  13. /* ------------------------------------------------------------------------ */
  14. /*              Functions that RETURN lines of text                         */
  15. /* ------------------------------------------------------------------------ */
  16. struct _line *get_first_line(void);
  17. struct _line *get_last_line(void);
  18. struct _line *get_new_line(void);
  19.  
  20.  
  21. /* ------------------------------------------------------------------------ */
  22. /*                   Functions that ADD lines of text                       */
  23. /* ------------------------------------------------------------------------ */
  24. void insert_after_line(struct _line *, struct _line *);
  25. void insert_before_line(struct _line *, struct _line *);
  26.  
  27.  
  28. /* ------------------------------------------------------------------------ */
  29. /*                  Functions that DELETE lines of text                     */
  30. /* ------------------------------------------------------------------------ */
  31. void delete_line(struct _line *);
  32. void delete_all_lines(void);
  33.  
  34.  
  35. /* ------------------------------------------------------------------------ */
  36. /*                   Functions that MOVE lines of text                      */
  37. /* ------------------------------------------------------------------------ */
  38. void move_before_line(struct _line *, struct _line *);
  39. void move_after_line(struct _line *, struct _line *);
  40.  
  41.